SCardStatus (winscard)
Last changed: Chris Drake-153.23.1.60

.
Summary
The SCardStatus function provides the current status of a smart card in a reader. You can call it any time after a successful call to SCardConnect and before a successful call to SCardDisconnect. It does not affect the state of the reader or reader driver.

C# Signature:

[DllImport("winscard.dll")]

static extern int SCardStatus(int hCard, ref IntPtr szReaderName, ref int pcchReaderLen, ref int pdwState, ref int pdwProtocol, byte[] pbAtr, ref int pcbAtrLen);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

TODO

Documentation
SCardStatus on MSDN